<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui"  
      >
      
    <f:loadBundle basename="com.ressources.message" var="msg"/>
    
    <h:body>
   
	<ui:composition template="../temp.xhtml">
	
		
	    <ui:define name="title">
	      	<h:outputText value="Melanged" />
	    </ui:define>
	
	 	<ui:define name="titleArticle">	      
	      	<h:outputText value="#{msg['pressionPartielle.titreArticle']}" />
	    </ui:define>
	
	    <ui:define name="content">
	    	
	    	<p:lineChart id="linear" 
	    		value="#{graph.linearModel}" 
	    		legendPosition="e"  
     			title="Plongée 1" 
     			minY="-60" 
     			maxY="0" 
     			yaxisLabel="mètres"
				xaxisLabel="Heures"
     			style="height:300px">
     			
     			<f:convertDateTime pattern="hh'h'mm" />
     		</p:lineChart> 
     		
     		<br/><br/><br/>
     		<hr/>
     		<br/><br/><br/>
     		
     		<p:lineChart id="category" 
	    		value="#{graph.categoryModel}" 
	    		legendPosition="e"  
     			title="Plongée 1" 
     			minY="-60" 
     			maxY="0" 
     			yaxisLabel="mètres"
				xaxisLabel="Heures"
     			style="height:300px">
     			
     			<f:convertDateTime pattern="hh'h'mm" />
     		</p:lineChart> 
     		
     		
     
	    </ui:define>
	</ui:composition>


    </h:body>
 
</html>